How to return the data type of variable in JavaScript ?
To return the JavaScript data type of a variable we can use the JavaScript typeof operator. In JavaScript, unlike many other programming languages, we do not specify the type of a variable while declaring it, rather the variable’s type is automatically inferred based on the value it holds. In other words, JavaScript is a “dynamically typed” programming language. In such languages, the type of a variable can change throughout the program....
read more
Graph Coloring for Competitive Programming
Graph coloring in programming refers to the assignment of colors to the vertices of a graph in a way that no two adjacent vertices share the same color. In this article, we will cover the concepts of Graph coloring, why is it important to learn for Competitive Programming and other related concepts like: Bipartite Graph, Chromatic Number, etc....
read more
Domain Testing in Software Engineering
Every software development process follows a Software Development Life Cycle(SDLC) to develop a quality software product. Software testing is one of the important phases as it only ensures the quality of the product. So, for that different types of software testing are performed to check different parameters or test cases....
read more
Architecture of 8085 microprocessor
Introduction :...
read more
CPU Scheduling in Operating Systems
Scheduling of processes/work is done to finish the work on time. CPU Scheduling is a process that allows one process to use the CPU while another process is delayed (in standby) due to unavailability of any resources such as I / O etc, thus making full use of the CPU. The purpose of CPU Scheduling is to make the system more efficient, faster, and fairer....
read more
Process Schedulers in Operating System
In computing, a process is the instance of a computer program that is being executed by one or many threads. Scheduling is important in many different computer environments. One of the most important areas of scheduling is which programs will work on the CPU. This task is handled by the Operating System (OS) of the computer and there are many different ways in which we can choose to configure programs....
read more
Minimize replacements to sort an array with elements 1, 2, and 3
Given an array arr[] of length N containing elements 1, 2 and 3. The task is to find the minimum number of operations required to make array sorted by replacing any elements of given array with either 1, 2 or 3....
read more
numpy.random.dirichlet() in Python
With the help of dirichlet() method, we can get the random samples from dirichlet distribution and return the numpy array of some random samples by using this method....
read more
numpy.random.geometric() in Python
With the help of numpy.random.geometric() method, we can get the random samples of geometric distribution and return the random samples of numpy array by using this method....
read more
Building Data Pipelines with Google Cloud Dataflow: ETL Processing
In today’s fast fast-moving world, businesses face the challenge of efficiently processing and transforming massive quantities of data into meaningful insights. Extract, Transform, Load (ETL) tactics play a vital function in this journey, enabling corporations to transform raw data into a structured and actionable format. Google Cloud gives a powerful solution for ETL processing called Dataflow, a completely managed and serverless data processing service. In this article, we will explore the key capabilities and advantages of ETL processing on Google Cloud and the use of Dataflow....
read more
rand vs normal in Numpy.random in Python
In this article, we will look into the principal difference between the Numpy.random.rand() method and the Numpy.random.normal() method in detail....
read more
How to get weighted random choice in Python?
Weighted random choices mean selecting random elements from a list or an array by the probability of that element. We can assign a probability to each element and according to that element(s) will be selected. By this, we can select one or more than one element from the list, And it can be achieved in two ways....
read more